﻿// Open Source: MIT License (http://www.opensource.org/licenses/mit-license.php)
// Project: YoProgramo.NET (http://code.google.com/p/yoprogramo/)
// Autor: Fabian Figueredo (info@fabianfigueredo.com.ar)
// Blog: blog.yoprogramo.net

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YoProgramo.Domain.Core.Exceptions
{
    [Serializable]
    public class YPBaseException : Exception {
        public string ErrorMessage
        {
            get
            {
                return base.Message.ToString();
            }
        }

        public YPBaseException(string errorMessage)
            : base(errorMessage) {}

        public YPBaseException(string errorMessage, Exception innerEx)
            : base(errorMessage, innerEx) {}
    }
}